package xin.yangshuai.liteflow01.controller;

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xin.yangshuai.liteflow01.component.LiteflowService;

/**
 * LiteflowController
 *
 * @author shuai
 * @date 2025/2/24
 */
@RestController
@RequestMapping("liteflow")
public class LiteflowController {

    @Resource
    private LiteflowService liteflowService;

    @GetMapping("test")
    public String test() {
        liteflowService.testConfig();
        return "hello world";
    }
}
